package com.usian.model.behavior.dtos;

import com.usian.model.common.annotation.IdEncrypt;
import lombok.Data;

import java.util.Date;

/**
 * ClassName: CollectionBehaviorDto
 * Author:   WGG
 * Date:    2022-12-2022/12/1-14:22
 * Version: 1.0
 * Description:
 */
@Data
public class CollectionBehaviorDto {
    // 设备ID
    @IdEncrypt
    Integer equipmentId;
    // 文章、动态ID
    @IdEncrypt
    Long entryId;
    /**
     * 收藏内容类型
     * 0文章
     * 1动态
     */
    Integer type;

    /**
     * 操作类型
     * 0收藏
     * 1取消收藏
     */
    Integer operation;

    Date publishedTime;

}
